﻿@model VVA.Data.Entity.Product
@{
    ViewBag.Title = Model.ProductName;
}
@section breadcrumb{
&nbsp;
}
@section header{
    <div class="span16">
        <ul class="nav">
            <li>
                <a href="#">@HttpContext.GetGlobalResourceObject("Common", "Product").ToString()</a>
            </li>
            <li>
                @Html.ActionLink("/" + Model.TaxonomyName, "Index", new { slug = Model.TaxonomySlug })
            </li>
            <li>
                <a href="#">/@Model.ProductName
                </a>
            </li>
        </ul>
    </div>
}
<div class="row" style="text-align: left">
    <div class="span16">
        <h3 class="title">@Model.ProductName</h3>
    </div>
    @if (!string.IsNullOrEmpty(Model.ProductImage))
    {
        <div class="span8">

            <div>
                <h6 class="title">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Product_Composition")</h6>
                <div class="product-content">
                    @Html.Raw(Model.Composition)
                </div>
            </div>
            <div>
                <h6 class="title">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Product_Value")</h6>
                <div class="product-content">
                    @Html.Raw(Model.Value)
                </div>
            </div>
            <div>
                <h6 class="title">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Product_Dosage")</h6>
                <div class="product-content">
                    @Html.Raw(Model.Dosage)
                </div>
            </div>
            <div>
                <h6 class="title">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Product_Dosage")</h6>
                @Html.Raw(Model.Content)
            </div>

        </div>
        <div class="span8">
            <img src="@Model.ProductImage" alt="@Model.ProductName" />
            <div style="clear: both"></div>
        </div>
    }
    else
    {
        <div class="span16">
            <div>
                <h6 class="title">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Product_Composition")</h6>
                <div class="product-content">
                    @Html.Raw(Model.Composition)
                </div>
            </div>
            <div>
                <h6 class="title">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Product_Value")</h6>
                <div class="product-content">
                    @Html.Raw(Model.Value)
                </div>
            </div>
            <div>
                <h6 class="title">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Product_Dosage")</h6>
                <div class="product-content">
                    @Html.Raw(Model.Dosage)
                </div>
            </div>
            <div>
                <h6 class="title">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Product_Dosage")</h6>
                @Html.Raw(Model.Content)
            </div>
        </div>   
    }
    <div style="clear: both"></div>
</div>
